package com.skyolder.milkbee.repository;

import com.skyolder.milkbee.domain.Elector;

import org.springframework.data.jpa.repository.*;

import java.util.List;

/**
 * Spring Data JPA repository for the Elector entity.
 */
@SuppressWarnings("unused")
public interface ElectorRepository extends JpaRepository<Elector,Long> {

	List<Elector> findByUserIdAndQuestionnaireId(Long userId, Long questionnaireId);

}
